

#ifndef _SHELL_RESYAOWANGBUFFIDS_MESSAGE_H_
#define _SHELL_RESYAOWANGBUFFIDS_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include "PlayerYaoWangBuff.h"
//#include <vector>
using namespace std;

class ResYaowangBuffIdsMessage : public Message
{
	public:
	ResYaowangBuffIdsMessage();
	~ResYaowangBuffIdsMessage();
	void reset();
	ResYaowangBuffIdsMessage* clone();
	static const int _ID;
	//当前佩戴的buffId
	int32 currentId;
	//buff列表
	vector<PlayerYaoWangBuff*> yaowangIdList;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
